//
//  DTIntercept.m
//  InitProject
//
//  Created by ZhangYeKun on 2017/2/7.
//  Copyright © 2017年 DTSTON. All rights reserved.
//

#import "DTIntercept.h"




static DTIntercept *_httpIntercept;

@implementation DTIntercept

- (NSMutableDictionary *)requestDictionary{
    
    if (!_requestDictionary) {
        
        _requestDictionary = [NSMutableDictionary dictionary];
        
    }
    return _requestDictionary;
}

+ (instancetype)shareManager{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _httpIntercept =  [[super alloc]init];
    });
    return _httpIntercept;
}
+ (instancetype)allocWithZone:(struct _NSZone *)zone{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _httpIntercept = [super allocWithZone:zone];
    });
    return _httpIntercept;
}
- (id)copyWithZone:(NSZone *)zone{
    return _httpIntercept;
}


@end
